package com.wiwf.model.mapper.admin.bean;

import com.gitee.fastmybatis.annotation.Pk;
import com.gitee.fastmybatis.annotation.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * @author kehui
 */
/**
 * 
 */
@Table(name = "sys_msg", pk = @Pk(name = "msg_id"))
public class SysMsgEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	
	protected Integer msgId, userId, userTakeId;
	
	protected Integer type, isRead;
	
	protected String title, msg, userName;
	
	protected Date time;

	public SysMsgEntity() {
		super();
	}

	public SysMsgEntity(Integer userId, Integer type, String msg, Date time) {
		super();
		this.userId = userId;
		this.type = type;
		this.msg = msg;
		this.time = time;
		this.isRead = 0;
	}

	public Integer getMsgId() {
		return msgId;
	}

	public void setMsgId(Integer msgId) {
		this.msgId = msgId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getUserTakeId() {
		return userTakeId;
	}

	public void setUserTakeId(Integer userTakeId) {
		this.userTakeId = userTakeId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getIsRead() {
		return isRead;
	}

	public void setIsRead(Integer isRead) {
		this.isRead = isRead;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

}
